package com.ebocy.hammer.core.constants;

import org.apache.log4j.Logger;


/**
 * @author lichunmei
 * @date May 16, 2012 10:07:53 AM
 */
public class ServerMessage {
	private static Logger logger = Logger.getLogger(ServerMessage.class);
	public static final short S2S_MESSAGE = 0x0000;
	// Login, Game Server <--- ---> World Server
	public static final short SM_WORLD = S2S_MESSAGE + 0x000;
	// Server messages related with chat server
	public static final short SM_CHAT = S2S_MESSAGE + 0x100;
	// Server messages related with db (cache) server
	public static final short SM_DB = S2S_MESSAGE + 0x200;

	//玩家登录
	public static final short B2D_REQ_LOGIN_DATA = SM_DB + 0x01;
	public static final short D2B_ACK_LOGIN_DATA = SM_DB + 0x02;
	//玩家数据更新
	public static final short B2D_REQ_UPDATE_PLAYER = SM_DB + 0x03;
	public static final short D2B_ACK_UPDATE_PLAYER = SM_DB + 0x04;





}
